package cn.car.domains.vo.sysPermission;

import cn.car.domains.vo.BasePageReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "PermissionListReq", description = "权限列表查询参数（分页与条件过滤）")
public class PermissionListReq extends BasePageReq {


    /**
     * 权限名称
     */
    @Schema(name = "permissionName", description = "权限名称，支持模糊查询")
    private String permissionName;

    /**
     * 权限code
     * 用于唯一标识权限
     */
    @Schema(name = "permissionCode", description = "权限编码（唯一标识），精确匹配")
    private String permissionCode;

    /**
     * 权限类型
     */
    @Schema(name = "permissionType", description = "权限类型，例如：MENU、BUTTON、API")
    private String permissionType;
}
